#ifndef UNIVERSITY_H
#define UNIVERSITY_H

#include "Subject.h"

using namespace std;

class University : public Subject {
// Since there's only one university in town, university is a singleton.
// It is also a subject since it has to notify the students about changes.
public:
	static University& getObj() {return uv;}
	void changePrice (const double & price);
	void cancelLecture (const string & lecture);
private:
	static University uv;
	University() { price = 0; };
	University(const University& other_uv) {};
	void operator= (University& other_uv) {};

	double price;
};

#endif // UNIVERSITY_H